package com.yuzhenxin.coursesystem.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuzhenxin.coursesystem.controller.schedule.vo.ScheduleCreateReqDto;
import com.yuzhenxin.coursesystem.controller.schedule.vo.ScheduleQueryReqDto;
import com.yuzhenxin.coursesystem.entity.ScheduleDO;

import java.util.List;

public interface ScheduleService extends IService<ScheduleDO> {

    IPage<ScheduleDO> selectPage(ScheduleQueryReqDto reqDto);

    void add(ScheduleCreateReqDto reqDto);

    void updateCapacityBySelectionIdList(List<Integer> selectionIdList);
}
